package com.vcc.channel.base.config;

import lombok.Data;
import org.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator;
import org.springframework.stereotype.Service;

import java.io.Serializable;

@Data
public class BaseConfig implements Serializable {

    private String uri;

    private String appId;

    private String appSecret;

    private String mainAccountId;

    private String privateKey;

    private String publicKey;

    private String channelPublicKey;

    private String getCodeUrl;

    private String getTokenUrl;

    private String openCardUrl;

    private String rechargeUrl;

    private String withdrawUrl;

    private String cancelUrl;

    private String blockUrl;

    private String unBlockUrl;

    private String createCardHolderUrl;

    private String updateCardHolderUrl;

    private String pagingTransactionUrl;

    private String pagingClearUrl;

    private String pagingCardUrl;

    private String queryCardInfoUrl;

    private String queryCardSecretUrl;

    private String queryAccountBalanceUrl;

    private String pagingOperationUrl;

    private String transferUrl;

    private String createShareAccountUrl;

    public String getUrl(String url) {
        return uri + url;
    }



}
